From: Brion Vibber Date: Mon, 25 Apr 2005 02:21:48 +0000 (+0000) Subject: Userlevels and grouplevels have been moved out to a 'steward' group. Make X-Git-Tag: 1.5.0alpha1~152 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=890117e4e3352f8e97c8104a0489e04de33da376;p=lhc%2Fweb%2Fwiklou.git Userlevels and grouplevels have been moved out to a 'steward' group. Make the initially created sysop user a part of the group so they can assign sysops etc. --- diff --git a/config/index.php b/config/index.php index 5329ccc049..17d34fb008 100644 --- a/config/index.php +++ b/config/index.php @@ -595,6 +595,7 @@ if( $conf->posted && ( 0 == count( $errs ) ) ) { $groups = $u->getGroups(); $groups[] = $wgSysopGroupId; $groups[] = $wgBureaucratGroupId; + $groups[] = $wgStewardGroupId; $u->setGroups( $groups ); $u->saveSettings(); diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index f75eaac093..d4b19d68e6 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1199,6 +1199,7 @@ $wgAnonGroupId = 1; $wgLoggedInGroupId = 2; $wgSysopGroupId = 3; $wgBureaucratGroupId = 4; +$wgStewardGroupId = 5; /** * When translating messages with wfMsg(), it is not always clear what should be